package io.wdb.modules.generator.generator.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.wdb.modules.generator.generator.dao.BookInitUserDao;
import io.wdb.modules.generator.generator.entity.BookInitUserEntity;
import io.wdb.modules.generator.generator.service.BookInitUserService;



@Service("bookInitUserService")
public class BookInitUserServiceImpl implements BookInitUserService {
	@Autowired
	private BookInitUserDao bookInitUserDao;
	
	@Override
	public BookInitUserEntity queryObject(Integer id){
		return bookInitUserDao.queryObject(id);
	}
	
	@Override
	public List<BookInitUserEntity> queryList(Map<String, Object> map){
		return bookInitUserDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return bookInitUserDao.queryTotal(map);
	}
	
	@Override
	public void save(BookInitUserEntity bookInitUser){
		bookInitUserDao.save(bookInitUser);
	}
	
	@Override
	public void update(BookInitUserEntity bookInitUser){
		bookInitUserDao.update(bookInitUser);
	}
	
	@Override
	public void delete(Integer id){
		bookInitUserDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		bookInitUserDao.deleteBatch(ids);
	}
	
}
